<?xml version="1.0" encoding="UTF-8"?>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui" template="../../Template.xhtml">
	<ui:define name="title">Edit ManageImage</ui:define>

	<ui:define name="body">

		<h:form>
			<p:panelGrid columns="2">
				<h2>Edit ManageImage</h2>
				<p:commandButton value="Back" action="ManageImageSite.xhtml" />
			</p:panelGrid>
		</h:form>
		<br />
		<br />
		<br />
		<br />
		<h:form>
			<p:inputText />
			<p:messages id="messages" showDetail="true" autoUpdate="true"
				closable="true" />

			<p:panelGrid columns="3">
				<p:outputLabel value="Select Country:" />
				<p:selectOneMenu value="#{deviseMB.idCt}">
					<f:selectItems value="#{deviseMB.listPays}" var="a"
						itemValue="#{a.idPays}" itemLabel="#{a.intitule}" />
				</p:selectOneMenu>
				<br />

				<p:outputLabel value="Currency Code:" />
				<p:inputText id="code" value="#{deviseMB.devise.code}"
					required="true" requiredMessage="Transport type is required" />
				<p:message for="code" />

				<p:outputLabel value="Currency Symbol (Optional)" />
				<p:inputText id="symbole" value="#{deviseMB.devise.symbole}" />
				<br />

				<p:outputLabel value="Status :" />
				<p:selectOneMenu value="#{deviseMB.devise.statut}">
					<f:selectItem itemValue="true" itemLabel="Active" />
					<f:selectItem itemValue="false" itemLabel="Inactive" />
				</p:selectOneMenu>
				<br />
				<p:commandButton action="#{deviseMB.Ajouter}" value="Add"></p:commandButton>
			</p:panelGrid>
		</h:form>


	</ui:define>
</ui:composition>